package com.atguigu.daijia.customer.service;

import com.atguigu.daijia.model.entity.customer.CustomerInfo;
import com.atguigu.daijia.model.vo.customer.CustomerLoginVo;
import com.baomidou.mybatisplus.extension.service.IService;

public interface CustomerInfoService extends IService<CustomerInfo> {

    Long login(String code);

    /**
     * 获取用户登录信息
     * @param customerId
     * @return
     */
    CustomerLoginVo getCustomerInfo(Long customerId);

    /**
     * 获取乘客OpenId
     * @param customerId
     * @return
     */
    String getCustomerOpenId(Long customerId);
}
